package com.yitao.client.dto.order;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Date: 2020/1/3 16:17
 * @Author: Kien
 */
public class UserOrderGradePreferentialDto extends BaseDto {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * 订单id
     */
    @ApiModelProperty("订单id")
    private Long orderId;

    /**
     * 订单code
     */
    @ApiModelProperty("订单code")
    private String orderCode;

    /**
     * 下单人id
     */
    @ApiModelProperty("下单人id")
    private Long userId;

    /**
     * 门店id
     */
    @ApiModelProperty("门店id")
    private Long shopId;

    /**
     * 等级名称
     */
    @ApiModelProperty("等级名称")
    private String gradeName;

    /**
     * 等级优惠
     */
    @ApiModelProperty("等级优惠")
    private String gradePreferential;

    /**
     * 等级权益优惠json信息
     */
    @ApiModelProperty("等级权益优惠json信息")
    private String preferentialDetail;

    @ApiModelProperty("优惠面值（分 折扣也需要除 100）")
    private Long faceValue;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getGradePreferential() {
        return gradePreferential;
    }

    public void setGradePreferential(String gradePreferential) {
        this.gradePreferential = gradePreferential;
    }

    public String getPreferentialDetail() {
        return preferentialDetail;
    }

    public void setPreferentialDetail(String preferentialDetail) {
        this.preferentialDetail = preferentialDetail;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(Long faceValue) {
        this.faceValue = faceValue;
    }
}
